let jwt = localStorage.getItem('jwt');
let data = { jwt: jwt };
const xhr = new XMLHttpRequest();
xhr.onload = function () {
    if (xhr.status == 200) {
        let res_data = JSON.parse(xhr.responseText);
        console.log(res_data);
        if (res_data.login_status == false) {
            jmp_page('/');
        }
    }
};
xhr.open('POST', '/users/checkLogin', true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.send(JSON.stringify(data));
